package org.dromara.system.domain.bo;

import org.dromara.system.domain.YzlShieldDevice;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 盾构机设备业务对象 yzl_shield_device
 *
 * @author wfy
 * @date 2025-10-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = YzlShieldDevice.class, reverseConvertGenerate = false)
public class YzlShieldDeviceBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 部门id
     */

    private Long deptId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 盾构机设备号
     */
    @NotBlank(message = "盾构机设备号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceMac;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceName;


}
